home *** CD-ROM | disk | FTP | other *** search
- Path: service-2.agate.net!usenet
- From: ettienne@agate.net (Steve Nutt)
- Newsgroups: comp.lang.c++
- Subject: Re: 64 bit operators
- Date: Sat, 20 Apr 1996 05:07:03 GMT
- Organization: DET
- Message-ID: <4l9k0b$mbo@service-2.agate.net>
- References: <4kh5vs$286@nyheter.chalmers.se>
- Reply-To: ettienne@agate.net
- NNTP-Posting-Host: ettienne.sdi.agate.net
- X-Newsreader: Forte Free Agent 1.0.82
-
- ei39418@ios.chalmers.se (Michael Schön) wrote:
-
- >PROBLEM:
- >I would like to multiply, substract and divide two 64 bit
- >LONGLONG hyper words in Borland C++ 4.52. These types are declared in
- ><winnt.h>.
- >In Visual C++ 2.0 these operators are defined and declared in <longint.h>
- >e.g. a=LongIntegerSubstract(b,c) so there should exists a corresponding
- >declaration for Borland C++ 4.52!
- >But where???
-
- >QUESTION:
- >How do you perform these basic +,-,*,/ operators on 64 bit words?
-
- >/Michael
- >ei39418@ios.chalmers.se
-
- Wish I knew. If you find one, please let me know. There is a freeware
- c++ library called bigint available on CompuServe in the borland
- forums. I seem to rember one or two problems with them though.
- Performance was one, forgotten what the other was!
-
- Steve
-
-